Skip to content

feat(tools-registry): add You.com search and extraction tools#12586

Open
EdwardIrby wants to merge 2 commits intovercel:mainfrom
youdotcom-oss:feat/tools-registry-add-you-search
Open

feat(tools-registry): add You.com search and extraction tools#12586
EdwardIrby wants to merge 2 commits intovercel:mainfrom
youdotcom-oss:feat/tools-registry-add-you-search

Conversation

@EdwardIrby
Copy link

@EdwardIrby EdwardIrby commented Feb 13, 2026

Summary

This PR adds the You.com AI SDK plugin to the tools registry, providing real-time web search, AI-generated answers with web context, and webpage content extraction capabilities.

Tool Details

Package: @youdotcom-oss/ai-sdk-plugin
Tools: youSearch() and youContents()
NPM: https://www.npmjs.com/package/@youdotcom-oss/ai-sdk-plugin
Docs: https://github.com/youdotcom-oss/dx-toolkit/tree/main/packages/ai-sdk-plugin#readme
API Keys: https://you.com/platform/api-keys

Features

  • Real-time web search with advanced filtering (dates, sites, file types)
  • AI-generated answers enhanced with live web data
  • Webpage content extraction in markdown or HTML format
  • Zero server setup - built on You.com's enterprise search API
  • Type-safe with full TypeScript and Zod schema validation

Code Example

The tool is ready to use with any AI SDK model provider (Anthropic, OpenAI, Google, etc.):

import { generateText, stepCountIs} from 'ai';
import { anthropic } from '@ai-sdk/anthropic';
import { youSearch, youContents } from '@youdotcom-oss/ai-sdk-plugin';

const { text } = await generateText({
  model: anthropic('claude-sonnet-4-5-20250929'),
  prompt: 'Search for the latest developments in quantum computing',
  tools: {
    search: youSearch(),
    extract: youContents(),
  },
  stopWhen: stepCountIs(5),
});

console.log(text);

Checklist

  • Published to npm
  • Documented with clear usage instructions
  • Tested with AI SDK
  • Added to tools registry with all required fields
  • Provided working code example
  • Follows contributing guide

@EdwardIrby EdwardIrby force-pushed the feat/tools-registry-add-you-search branch from abed4c7 to f47fb5c Compare February 13, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant